<?php
class OverseerModel extends Orm_Base{
    public $table = 'overseer';                                                                         
    public $field = array(                                                                             
		'id' => array('type' => "int(11)", 'comment' => 'id'),                               
		'status' =>  array('type' => "int(11)", 'comment' => ''),
		'department' =>  array('type' => "int(11)", 'comment' => ''),
		'date' =>  array('type' => "date(0)", 'comment' => ''),
        'overseer' =>  array('type' => "int(11)", 'comment' => ''),
        'checktime' => array('type' => "date()", 'comment' => ''),
        'hygiene' => array('type' => "varchar(5)", 'comment' => ''),
        'room' => array('type' => "varchar(5)", 'comment' => ''),
        'toilet' => array('type' => "varchar(5)", 'comment' => ''),
        'sta' => array('type' => "int(11)", 'comment' => ''),
	);
 
	public $pk = 'id';
}
